package IO;

import java.io.*;

//使用字节流，写文件的案例
public class IODemo5 {
    public static void main(String[] args) {
        try{OutputStream outputStream = new FileOutputStream("E:/比特笔记/test.txt");
//                outputStream.write(97);
//                outputStream.write(98);
//                outputStream.write(99);
            byte[] buffer = new byte[]{97,98,99};
            outputStream.write(buffer);
        }catch(IOException e){
            e.printStackTrace();
        }
    }
}
